package com.ruoyi.production.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品工艺线路对象 circuit
 * 
 * @author admin
 * @date 2024-08-02
 */
public class Circuit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品工艺线路id */
    private Long circuitId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String cpName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 产品工艺流程信息 */
    private List<Flow> flowList;

    public void setCircuitId(Long circuitId) 
    {
        this.circuitId = circuitId;
    }

    public Long getCircuitId() 
    {
        return circuitId;
    }
    public void setCpName(String cpName) 
    {
        this.cpName = cpName;
    }

    public String getCpName() 
    {
        return cpName;
    }
    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }

    public List<Flow> getFlowList()
    {
        return flowList;
    }

    public void setFlowList(List<Flow> flowList)
    {
        this.flowList = flowList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("circuitId", getCircuitId())
            .append("cpName", getCpName())
            .append("principal", getPrincipal())
            .append("createTime", getCreateTime())
            .append("flowList", getFlowList())
            .toString();
    }
}
